/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tiberio.movil.entity;

import com.google.gson.annotations.SerializedName;

/*
 * 
 * {"h":16,"i":418766,"n":"Piovera","r":"","w":9,"x":369,"y":875}
 * 
 * @author chema
 */
public class CityEntity {
    
   @SerializedName("h")
   private int h;
   
   @SerializedName("i")
   private int id;
   
    @SerializedName("n")
   private String nombre;
    
    @SerializedName("r")
   private String r;
          
     @SerializedName("w")
   private int w;
     
     @SerializedName("x")
   private int posX;
     
     @SerializedName("y")
   private int posY;

    public int getPosY() {
        return posY;
    }

    public void setPosY(int posY) {
        this.posY = posY;
    }

    public int getH() {
        return h;
    }

    public void setH(int h) {
        this.h = h;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNombre() {
        return nombre;
    }

    public void setNombre(String nombre) {
        this.nombre = nombre;
    }

    public int getPosX() {
        return posX;
    }

    public void setPosX(int posX) {
        this.posX = posX;
    }


    public String getR() {
        return r;
    }

    public void setR(String r) {
        this.r = r;
    }

    public int getW() {
        return w;
    }

    public void setW(int w) {
        this.w = w;
    }

    @Override
    public String toString() {
        
        return "CityEntity{" + "h=" + h + ", id=" + id + ", nombre=" + nombre + ", r=" + r + ", w=" + w + ", posX=" + posX + ", posy=" + posY + '}';
    }
    
     
     
}
